<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="xdz" uri="/xdztools" %>
<!DOCTYPE html>
<html lang="en">


<!-- Mirrored from www.zi-han.net/theme/hplus/login_v2.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:49 GMT -->
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

    <title>登录</title>
    <meta name="keywords" content="后台bootstrap,会员中心,后台HTML,响应式后台">
    <meta name="description" content="登录">
    <link rel="stylesheet" href="${xdz:domain() }/css/bootstrap.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="${xdz:domain() }/css/font-awesome.min.css?v=4.4.0" />
    <link rel="stylesheet" href="${xdz:domain() }/css/animate.min.css" />
    <link rel="stylesheet" href="${xdz:domain() }/css/style.min.css" />
    <link rel="stylesheet" href="${xdz:domain() }/css/login.min.css" />
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <script>
        if(window.top!==window.self){
        	window.top.location=window.location
        };
    </script>

</head>

<body class="signin">
    <div class="signinpanel">
        <div class="row">
            <div class="col-sm-7">
                <div class="signin-info">
                    <div class="logopanel m-b">
                        <h1>后台登录</h1>
                    </div>
                    <div class="m-b"></div>
                    <h4>欢迎使用 <strong>此系统</strong></h4>
<!--                     <ul class="m-b"> -->
<!--                         <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势一</li> -->
<!--                         <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势二</li> -->
<!--                         <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势三</li> -->
<!--                         <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势四</li> -->
<!--                         <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势五</li> -->
<!--                     </ul> -->
                </div>
            </div>
            <div class="col-sm-5">
                <form action="${xdz:domain() }/doLogin" method="post"  onsubmit="checkForm()">
					<input type="hidden" name="fromurl" value="${fromurl }"> 
		            <input type="hidden"  name="passwordEncrypt" id="passwordEncrypt">
                    <h4 class="no-margins">登录</h4>
<!--                     <p class="m-t-md">登录到后台</p> -->
                    <input type="text" id="userName" name="userName" class="form-control uname" placeholder="用户名" />
                    <input type="password" id="password" name="password" class="form-control pword m-b" placeholder="密码" />
<!--                     <a href="#">忘记密码了？</a> -->
                    <input type="submit" class="btn btn-primary btn-block" value="登录" />
                </form>
            </div>
        </div>
<!--         <div class="signup-footer"> -->
<!--             <div class="pull-left"> -->
<!--                 &copy; 2016 All Rights Reserved.徐德志 -->
<!--             </div> -->
<!--         </div> -->
    </div>
</body>
<script type="text/javascript" src="${xdz:domain() }/js/jquery.min.js"></script>
<script src="${xdz:domain() }/js/jquery.md5.js"></script>
<script src="${xdz:domain() }/js/plugins/layer/layer.min.js" type="text/javascript"></script>
<script type="text/javascript">
	if('${loginMessage }'!=null&&'${loginMessage }'!=""){
		layer.alert('${loginMessage }');
	}	
			
	function checkForm(){
    	 $("#passwordEncrypt").val(hex_md5($("#password").val()));
	}

</script>
</html>
